<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>

<s:url var="action_url" value="/aerodromos/save"/>



<sf:form method="POST" class="form-horizontal" role="form" modelAttribute="aerodromoFormBean" action="${action_url}">
    <sf:hidden  path="id"/>


    
    <div class="form-group">
        <sf:label cssClass="col-sm-3 control-label no-padding-right" path="sigla">Sigla</sf:label>
            <div class="col-sm-9">
            <sf:input maxlength="255" path="sigla" placeholder="Sigla" cssClass="col-xs-10 col-sm-5"/><br/>
            <sf:errors path="sigla" cssClass="text-danger" />
        </div>
    </div>

    <div class="space-4"></div>

    <div class="form-group">
        <sf:label cssClass="col-sm-3 control-label no-padding-right" path="descricao">Descrição</sf:label>
            <div class="col-sm-9">
            <sf:input maxlength="255" path="descricao" placeholder="Descrição" cssClass="col-xs-10 col-sm-5"/><br/>
            <sf:errors path="descricao" cssClass="text-danger" />
        </div>
    </div>
    
        
        
        

    <div class="clearfix form-actions">
        <div class="col-md-offset-3 col-md-9">
            <button class="btn btn-info" type="submit">
                <i class="icon-ok bigger-110"></i>
                Salvar
            </button>

            &nbsp; &nbsp; &nbsp;
            <a href="<s:url value="/aerodromos" />" class="btn" >
                <i class="icon-undo bigger-110"></i>
                Voltar
            </a>
        </div>
    </div>

</sf:form>